#include <stdio.h>
#include "file.h"
#undef __FILE_H

void initFile(int argc, char *argv[])
{
		for (int i = 0; i < argc; i++)
		{
				if (*(argv[i]) != '-' && strstr(argv[i], ".tm") == 0)
				{
						infile = fopen(argv[i], "r");
						fseek(infile, 0, SEEK_END);
						infileLength = ftell(infile);
						rewind(infile);
				}
		}
}
